#pragma once
#include"types.h"


#define NETMAP_WITH_LIBS
#include <net/netmap_user.h> 

namespace TA{
    class nic{
        public:
            nic(const char* dev_name);
            ~nic();
			char* getPkg();
			void sendPkg(char *stream,int size);
        private:
            struct nm_desc *nmr;
    };
}